<?php

namespace App\Modules\AdminUser\Http\Resources;

use Illuminate\Http\Resources\Json\Resource;

class AdminUserResource extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request
     * @return array
     */
    public function toArray($request)
    {
        return parent::toArray($request);
        /*
        return [
            'id' => $this->id,
            'name' =>  $this->name,
            'email' =>  $this->email.'-aaaaaa-',
            'created_at' => $this->created_at->format('Y-m-d'),
            'updated_at' => $this->updated_at,
            ];*/
    }
}
